package com.bjpowernode.crm.settings.mapper;

import com.bjpowernode.crm.settings.domain.DicType;
import com.bjpowernode.crm.settings.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(String id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User selectUserByLoginActAndPwd(@Param("loginAct") String loginAct, @Param("loginPwd") String loginPwd);

    int selectAccountByLoginAct(String loginAct);

    /**
     * 获取所有者列表数据
     * @return
     */
    List<User> selectAllUserList();
}
